package com.hualan.mapper;

import com.hualan.pojo.CourseComment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseCommentMapper {
    List<CourseComment> queryAllCourseComment(String username);

    void deleteCourseComment(List<Integer> ids);

    void saveCourseComment(CourseComment courseComment);

    void updateCourseComment(CourseComment courseComment);

    Object getCourseCommentById(Integer id);
}
